package cn.yanjr.system.service;

import java.util.List;
import java.util.Map;

import cn.yanjr.system.entity.SysUser;


public interface SysUserService {
	
	
	/**
	 * 分页查询
	 * @param param
	 * @return
	 */
	public Map<String, Object> queryPage(Map<String, Object> param);
	
	public SysUser get(String id);
	
	public SysUser getUserByLoginName(String loginName);
	
	public Map<String, Object> getOne(String id);
	
	public Map<String, Object> save(SysUser user);
	
	public Map<String, Object> delete(String id);
	
	public Map<String, Object> saveRoles(Map<String, Object> param);
	
	public Map<String, Object> userMenus(Map<String, Object> param);
	
	public List<SysUser> getUserByOfficeAndChild(String officeId);
	
	public List<SysUser> getUserByOffice(String officeId);
}
